#nullable enable
using System.Collections.Generic;

namespace REP.Domain.Entities
{
    /// <summary>
    /// 工艺路线主数据（来自“添加工艺路线”选择）
    /// </summary>
    public class ProcessRoute : BaseEntity
    {
        /// <summary>工艺路线编码</summary>
        public string? RouteCode { get; set; }
        /// <summary>工艺路线名称</summary>
        public string? RouteName { get; set; }
        /// <summary>工序数量</summary>
        public int? StepCount { get; set; }
        /// <summary>标准总工时（小时）</summary>
        public decimal? StdTotalHours { get; set; }
        /// <summary>备注</summary>
        public string? Description { get; set; }

        /// <summary>工序步骤集合（一对多）</summary>
        public List<ProcessStep>? Steps { get; set; }
    }
}
